package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

public class WorkOrderDTO {
    /**
     * MES工单号
     */
    @Excel(name = "MES工单号")
    @ApiModelProperty("MES工单号")
    private String Wo_Code;

    /**
     * 生产订单号
     */
    @Excel(name = "生产订单号")
    @ApiModelProperty("生产订单号")
    private String Mo_Code;

    /**
     * 生产订单行号
     */
    @Excel(name = "生产订单行号")
    @ApiModelProperty("生产订单行号")
    private String Mo_SortSeq;

    /**
     * 存货编码
     */
    @Excel(name = "存货编码")
    @ApiModelProperty("存货编码")
    private String Inv_Code;

    /**
     * 存货名称
     */
    @Excel(name = "存货名称")
    @ApiModelProperty("存货名称")
    private String Inv_Name;

    /**
     * 规格型号
     */
    @Excel(name = "规格型号")
    @ApiModelProperty("规格型号")
    private String Inv_Std;

    /**
     * 工序行号
     */
    @Excel(name = "工序行号")
    @ApiModelProperty("工序行号")
    private String Op_Seq;

    /**
     * 工序名称
     */
    @Excel(name = "工序名称")
    @ApiModelProperty("工序名称")
    private String Op_Name;

    /**
     * 生产数量
     */
    @Excel(name = "生产数量")
    @ApiModelProperty("生产数量")
    private BigDecimal workNum;

    /**
     * 操作人工号
     */
    @Excel(name = "操作人工号")
    @ApiModelProperty("操作人工号")
    private String Oper_User;

    /**
     * 操作人姓名
     */
    @Excel(name = "操作人姓名")
    @ApiModelProperty("操作人姓名")
    private String Oper_Name;

    /**
     * 班组名称
     */
    @Excel(name = "班组名称")
    @ApiModelProperty("班组名称")
    private String Team_Name;

    /**
     * 班长工号
     */
    @Excel(name = "班长工号")
    @ApiModelProperty("班长工号")
    private String Team_Leader;

    /**
     * 班长姓名
     */
    @Excel(name = "班长姓名")
    @ApiModelProperty("班长姓名")
    private String teamLeaderName;
    /**
     * 工单状态
     */
    /*
     * 单据状态【0.未锁定1.已排程2.已锁定3.已派工4.已下达5.开工6.报工7.完工8.停工9.已暂停】
     * */
    @Excel(name = "工单状态")
    @ApiModelProperty("工单状态")
    private String workStatus;

    /**
     * 客户产品
     */
    @Excel(name = "客户产品")
    @ApiModelProperty("客户产品")
    private String CustomerProducts;

    /**
     * 客户交期
     */
    @Excel(name = "客户交期")
    @ApiModelProperty("客户交期")
    private String CustomerDate;
    /**
     * 计划开工时间
     */
    @Excel(name = "计划开工时间")
    @ApiModelProperty("计划开工时间")
    private String StartTime_Schedule;
    /**
     * 计划完工时间
     */
    @Excel(name = "计划完工时间")
    @ApiModelProperty("计划完工时间")
    private String EndTime_Schedule;
    /**
     * 实际开工时间
     */
    @Excel(name = "实际开工时间")
    @ApiModelProperty("实际开工时间")
    private String StartTime_Actual;
    /**
     * 实际完工时间
     */
    @Excel(name = "实际完工时间")
    @ApiModelProperty("实际完工时间")
    private String EndTime_Actual;


    public String getWo_Code() {
        return Wo_Code;
    }

    public void setWo_Code(String wo_Code) {
        Wo_Code = wo_Code;
    }

    public String getMo_Code() {
        return Mo_Code;
    }

    public void setMo_Code(String mo_Code) {
        Mo_Code = mo_Code;
    }

    public String getMo_SortSeq() {
        return Mo_SortSeq;
    }

    public void setMo_SortSeq(String mo_SortSeq) {
        Mo_SortSeq = mo_SortSeq;
    }

    public String getInv_Code() {
        return Inv_Code;
    }

    public void setInv_Code(String inv_Code) {
        Inv_Code = inv_Code;
    }

    public String getInv_Name() {
        return Inv_Name;
    }

    public void setInv_Name(String inv_Name) {
        Inv_Name = inv_Name;
    }

    public String getInv_Std() {
        return Inv_Std;
    }

    public void setInv_Std(String inv_Std) {
        Inv_Std = inv_Std;
    }

    public String getOp_Seq() {
        return Op_Seq;
    }

    public void setOp_Seq(String op_Seq) {
        Op_Seq = op_Seq;
    }

    public String getOp_Name() {
        return Op_Name;
    }

    public void setOp_Name(String op_Name) {
        Op_Name = op_Name;
    }

    public BigDecimal getWorkNum() {
        return workNum;
    }

    public void setWorkNum(BigDecimal workNum) {
        this.workNum = workNum;
    }

    public String getOper_User() {
        return Oper_User;
    }

    public void setOper_User(String oper_User) {
        Oper_User = oper_User;
    }

    public String getOper_Name() {
        return Oper_Name;
    }

    public void setOper_Name(String oper_Name) {
        Oper_Name = oper_Name;
    }

    public String getTeam_Name() {
        return Team_Name;
    }

    public void setTeam_Name(String team_Name) {
        Team_Name = team_Name;
    }

    public String getTeam_Leader() {
        return Team_Leader;
    }

    public void setTeam_Leader(String team_Leader) {
        Team_Leader = team_Leader;
    }

    public String getTeamLeaderName() {
        return teamLeaderName;
    }

    public void setTeamLeaderName(String teamLeaderName) {
        this.teamLeaderName = teamLeaderName;
    }

    public String getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(String workStatus) {
        this.workStatus = workStatus;
    }

    public String getCustomerProducts() {
        return CustomerProducts;
    }

    public void setCustomerProducts(String customerProducts) {
        CustomerProducts = customerProducts;
    }

    public String getCustomerDate() {
        return CustomerDate;
    }

    public void setCustomerDate(String customerDate) {
        CustomerDate = customerDate;
    }

    public String getStartTime_Schedule() {
        return StartTime_Schedule;
    }

    public void setStartTime_Schedule(String startTime_Schedule) {
        StartTime_Schedule = startTime_Schedule;
    }

    public String getEndTime_Schedule() {
        return EndTime_Schedule;
    }

    public void setEndTime_Schedule(String endTime_Schedule) {
        EndTime_Schedule = endTime_Schedule;
    }

    public String getStartTime_Actual() {
        return StartTime_Actual;
    }

    public void setStartTime_Actual(String startTime_Actual) {
        StartTime_Actual = startTime_Actual;
    }

    public String getEndTime_Actual() {
        return EndTime_Actual;
    }

    public void setEndTime_Actual(String endTime_Actual) {
        EndTime_Actual = endTime_Actual;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("Mo_Code", getMo_Code())
                .append("orderLine", getMo_SortSeq())
                .append("Inv_Code", getInv_Code())
                .append("Inv_Name", getInv_Name())
                .append("Inv_Std", getInv_Std())
                .append("Op_Seq", getOp_Seq())
                .append("Op_Name", getOp_Name())
                .append("workNum", getWorkNum())
                .append("Oper_User", getOper_User())
                .append("Oper_Name", getOper_Name())
                .append("Team_Name", getTeam_Name())
                .append("Team_Leader", getTeam_Leader())
                .append("teamLeaderName", getTeamLeaderName())
                .append("CustomerDate", getCustomerDate())
                .append("CustomerProducts", getCustomerProducts())
                .append("StartTime_Schedule", getStartTime_Schedule())
                .append("EndTime_Schedule", getEndTime_Schedule())
                .append("StartTime_Actual", getStartTime_Actual())
                .append("EndTime_Actual", getEndTime_Actual())
                .toString();
    }
}
